<template>
  <div class="demo">
    <h1>学校名称：{{schoolName}}</h1>
    <h1>学校地址：{{schoolAddress}}</h1>
  </div>
</template>

<script>
export default {
  name: 'School',

  data(){
    return {
      schoolName: '清华大学',
      schoolAddress: '北京',
    }
  },
}

</script>

<style>
/*组件的样式*/

.demo {
  color: orange;
}
</style>